#include "CException.h"

CException::CException()
{
    //ctor
}

CException::~CException() throw()
{
    //dtor
}

CException::CException(std::string strErrorMessagePam)
{
    strErrorMessage = strErrorMessagePam;
}

CException::CException(CException const & exceptionPam)
{
    strErrorMessage = exceptionPam.strErrorMessage;
}

void CException::Raise()
{
    throw * this;
}

const std::string CException::What()
{
    return strErrorMessage + "\n";
}
